package top.cyuw.subjectsystem.dto.depart;

import lombok.Data;
import top.cyuw.subjectsystem.dto.BaseDto;

import javax.validation.constraints.Positive;

@Data
public class DepartEditRequest extends BaseDto {

    @Positive(message = "部门ID不存在")
    private Integer id;

    private String name;

}
